﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ERP.Common.Results;
using Volo.Abp.Application.Services;
using ERP.Entity;

namespace ERP.UserLogin.IService
{
    /// <summary>
    /// 登陆调用接口
    /// </summary>
    public interface ILoginService : IApplicationService
    {
        /// <summary>
        /// 登陆
        /// </summary>
        /// <param name="username">用户名</param>
        /// <param name="password">密码</param>
        /// <returns>返回登陆人的数据</returns>
        Task<APIResult<UserModel>> LoginQuery(string username, string password);
    }
}
